메인 콘텐츠로 건너뛰기
POST
/
metric
/
campaigns_attribute_daily
Get a campaign attribute daily metric
curl --request POST \
  --url https://your_a2_service/metric/campaigns_attribute_daily \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "from_datetime": "2023-11-07T05:31:56Z",
  "to_datetime": "2023-11-07T05:31:56Z"
}'
[
  {
    "cid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "frequency": {
      "age": {
        "10-20": 1,
        "20-30": 2
      }
    },
    "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timestamp": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

캠페인 지표 조회 쿼리

campaign_id
string<uuid>
required
from_datetime
string<date-time> | null
to_datetime
string<date-time> | null

Response

Successful Response

cid
string<uuid>
required

캠페인 id

frequency
object
required

속성별 값의 빈도수

Examples:
{ "age": { "10-20": 1, "20-30": 2 } }
tagid
string<uuid>
required

지면 id

timestamp
string<date-time>
required

지표의 시간 단위 타임스탬프